<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/WEB-INF/pages/common/meta.jsp" %>
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/uce-static/iconfont/iconfont.css"/>
<script>
    var woKind = $("#woKind").val();
    var woCode = $("#woCode").val();
</script>
<div class="table-edit" style="min-height:50px;width: 100%">
    <table id="dgCsWoDuty" class="easyui-datagrid" style="width:100%;min-width:1000px;min-height:50px;"
           data-options="
                title:'定责信息',
				singleSelect: true,
				url: G_CTX_PATH+'/cs/CsWoPostalComplaints/getDutyByCode.do',
				method: 'get',
				queryParams: {woCode: woCode}
			">
        <thead>
        <tr>
            <th data-options="field:'first',width:180,title:'一级类型',
                formatter:function(value,row){
           return row.firstTypeName;
                }               "></th>
            <th data-options="field:'secondeType',width:180,title:'二级类型',
                formatter:function(value,row){
                    return row.secondeTypeName;
                }"></th>
            <th data-options="field:'duty',width:150,title:'责任方',
                formatter:function(value,row){
                    return row.dutyName;
                }"></th>
            <th data-options="field:'dutyOrgC',width:180,editor:'textbox',title:'责任机构',
                formatter:function(value,row){
                    return row.dutyOrgName;
                }"></th>
            <th data-options="field:'personLiableC',width:180,editor:'textbox',title:'责任人',
                formatter:function(value,row){
                    return row.personLiableName;
                }"></th>
            <th data-options="field:'penalties',width:180,title:'罚款金额(元)'"></th>
        </tr>
        </thead>
    </table>
</div>
